
public class MethodDecls {
	MethodDecls2 m;
	int lineNum;
	int charPos;
	public MethodDecls(MethodDecls2 m, int line, int charP){
		this.m = m;
		this.lineNum = line;
		this.charPos = charP;
	}
	public String toString(){
		String ret = "MethodDecls\n";
		String s = m.toString();
		for(String st: s.split("\n")){
			if(st!= "")
				ret += "| " + st + "\n";
		}

		return ret;
	}
	public void check() throws SemanticException {
		SymbolTable table = SymbolTable.getInstance();
		m.check();
	}
}